import axios from '@/libs/api.request'
// 资产列表
export const findAssetsList = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/auditAssetsService/findAssetsList',
    data: data,
    method: 'post'

  })
}

// 添加资产
export const saveAssets = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/auditAssetsService/saveAssets',
    data: data,
    method: 'post'

  })
}

// 删除资产

export const delAssets = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/auditAssetsService/updateDelAssets',
    data: data,
    method: 'post'

  })
}

// 资产修改
export const setAssets = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/auditAssetsService/updateAssets',
    data: data,
    method: 'post'

  })
}

// 资产日志操作记录
export const findAssetsLogList = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/auditAssetsLogService/findAssetsLogList',
    data: data,
    method: 'post'

  })
}

// 绩效考核人员列表
export const findWorkeList = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/communityWorkeAchievementsService/findWorkeList',
    data: data,
    method: 'post'

  })
}

// 绩效考核管理添加
export const saveAchievements = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/communityWorkeAchievementsService/saveAchievements',
    data: data,
    method: 'post'

  })
}

// 绩效考核详情
export const findWorkeAchievementsList = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/communityWorkeAchievementsService/findWorkeAchievementsList',
    data: data,
    method: 'post'

  })
}

// 绩效考核修改回填
export const findWorkeAchievements = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/communityWorkeAchievementsService/findWorkeAchievements',
    data: data,
    method: 'post'

  })
}

// 绩效考核修改
export const updateWorkeAchievements = (data) => {
  return axios.request({
    url: '/api/ac/cscforxq/communityWorkeAchievementsService/updateWorkeAchievements ',
    data: data,
    method: 'post'

  })
}
